package com.mzkj.wanjulaile.mobile.api.modules.stock.entity;


import com.mzkj.wanjulaile.mobile.api.common.entity.DataEntity;
import com.mzkj.wanjulaile.mobile.api.modules.toy.entity.Toy;

/**
 * 库存Entity
 * @author ianly
 * @version 2016-10-09
 */
public class Stock extends DataEntity<Stock> {
	
	private static final long serialVersionUID = 1L;
	private Toy toy;		// 产品信息
	private Integer count;		// 总库存数量
	private Integer realCount;		// 当前库存数量

	/**查询条件*/
	private String startDate;
	private String endDate;
	
	public Stock() {
		super();
	}

	public Stock(String id){
		super(id);
	}

	public Toy getToy() {
		return toy;
	}

	public void setToy(Toy toy) {
		this.toy = toy;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getRealCount() {
		return realCount;
	}

	public void setRealCount(Integer realCount) {
		this.realCount = realCount;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
}